<template>
  <view class="title-com w-center font-size-28rpx leading-32rpx pt-12rpx"
    :class="wrapClass"
    :style="wrapStyle"
  >{{ text }}</view>
</template>

<script lang="ts" setup>
defineProps({
  text: {
    type: String,
    default: ""
  },
  wrapStyle: {
    type: [String, Object],
    default: () => ''
  },
  wrapClass: {
    type: String,
    default: () => 'pb-46rpx'
  }
})
</script>

<script lang="ts">
export default {
  // 微信小程序开启样式穿透
  options: { styleIsolation: "shared" },
};
</script>

<style lang="scss" scoped>
</style>
